
SET SITE_URL="http://moss.litwareinc.com"
SET SOLUTION_NAME=SmilingGoat.SharePoint.WebParts.Rss.wsp

REM stsadm -o upgradesolution -name %SOLUTION_NAME% -filename %SOLUTION_NAME% -local -allowgacdeployment

REM If changes are not reflected by using upgradesolution, retract and delete the solution, then re-add/deploy
REM (Run these commands in a dos window so you can pause and wait for the retract to complete, otherwise the
REM deletesolution will fail
REM ----------------------------------------------------------------------------
REM stsadm -o retractsolution -name %SOLUTION_NAME% -url %SITE_URL% -immediate
REM pause
REM stsadm -o deletesolution -name %SOLUTION_NAME%

REM Use the following addsolution and deploysolution commands for the initial deployment, then
REM comment them out and use the above upgradesolution command
REM ----------------------------------------------------------------------------
stsadm -o addsolution -filename %SOLUTION_NAME%
stsadm -o deploysolution -name %SOLUTION_NAME% -allowGacdeployment -local -url %SITE_URL%

